<!DOCTYPE html>
<!-- 改变class不为 one 的所有 div 元素的背景色为 # bbffaa
 -->
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript">
	$(document).ready(function() {
		$("div:not(.one)").css("background-color", "#bbffaa");
	})
</script>
</head>
<body>
	<div class="one">1</div>
	<div class="two">2</div>
	<div class="one">3</div>
	<div class=gdd>4</div>
	<div class="jkjwk">5</div>
</body>
</html>